package com.example.jwtdemo.exception;

import com.example.jwtdemo.exception.entity.ResultCode;
import lombok.Data;

/**
 * 自定义异常
 */
@Data
public class CommonException extends Exception {
    private static final long serialVersionUID = -7480022450501760611L;

    private ResultCode resultCode;

    public CommonException(ResultCode resultCode) {
        this.resultCode = resultCode;
    }

}
